<?

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#	FILE:			includes/custom/adminpagemedit.php
#	FUNCTION:		Custom handler for the Admin Page Edit page
#	AUTHOR:			Cameron Morrow
#	CREATED:		29/08/2005
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Parameters
$flash_width = 900;
$flash_height = 600;
$selected_id = (@$_GET["page"]) ? $_GET["page"] : "";
$selected_type = (@$_GET["type"]) ? $_GET["type"] : "page";
$flash_filename = "../assets/flash/editor3_02.swf?host=../&passed_width=" . $flash_width . "&passed_height=" . $flash_height . "&page=" . $selected_id . "&type=" . $selected_type;

# Add the Flash
addContent(generatePageEditFlash($flash_filename, $flash_width, $flash_height));
?>